<div class="container-fluid">
    <div class="row bg-pageheader">
        <div class="container">
            <h1>文件下载服务</h1>
        </div>
    </div>
    <div class="row">
        <div class="container">
            <ngb-alert *ngIf="tmsg" [type]="ttype" [dismissible]="false">
                {{tmsg}}
            </ngb-alert>
            <form (ngSubmit)="onSubmit()">
                <div class="form-group">
                    <label for="url">下载链接</label>
                    <input type="text" class="form-control" id="url" [(ngModel)]="dl.url" name="url" placeholder="请输入下载链接">
                </div>
                <div class="form-group">
                    <label for="fileName">文件名</label>
                    <input type="text" class="form-control" id="fileName"  [(ngModel)]="dl.filename" name="filename" placeholder="请输入文件名">
                </div>
                <button type="submit" class="btn btn-primary">开始下载</button>
            </form>
        </div>
    </div>
</div>